using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QLTTTH.Entity
{
    public class NhanVien
    {
        #region field
        private string _maNV;
        private string _tenNV;
        private bool _gioiTinh;
        private DateTime _ngaySinh;
        private string _diaChi;
        private string _sdt;
        private string _soCmnd;
        private float _luong;
        private string _chucVu;
        private bool _status;
        #endregion

        #region contruction
        public NhanVien() 
        {
            MaNV = null;
            TenNV = null;
            GioiTinh = true;
            NgaySinh = new DateTime();
            DiaChi = null;
            Sdt = null;
            SoCmnd = null;
            Luong = 0;
            ChucVu = null;
            Status = true;
        }
        #endregion

        #region properties
        public string MaNV
        {
            get { return _maNV; }
            set { _maNV = value; }
        }
        
        public string TenNV
        {
            get { return _tenNV; }
            set { _tenNV = value; }
        }
        
        public bool GioiTinh
        {
            get { return _gioiTinh; }
            set { _gioiTinh = value; }
        }
        
        public DateTime NgaySinh
        {
            get { return _ngaySinh; }
            set { _ngaySinh = value; }
        }
        
        public string DiaChi
        {
            get { return _diaChi; }
            set { _diaChi = value; }
        }
        
        public string Sdt
        {
            get { return _sdt; }
            set { _sdt = value; }
        }
        
        public string SoCmnd
        {
            get { return _soCmnd; }
            set { _soCmnd = value; }
        }
        
        public float Luong
        {
            get { return _luong; }
            set { _luong = value; }
        }
        
        public string ChucVu
        {
            get { return _chucVu; }
            set { _chucVu = value; }
        }
        
        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }
        #endregion
    }
}
